package fr.vahren.dotastrat.gui;

import com.trolltech.qt.core.Qt.AlignmentFlag;
import com.trolltech.qt.gui.QFont;
import com.trolltech.qt.gui.QLabel;

public class D2SLabel extends QLabel {

	public D2SLabel(String text, String color, int textSize) {
		super(text);
		setStyleSheet("QLabel { color : " + color
				+ "; padding : 0px; margin:0px; }");
		setFont(new QFont("Arial", textSize, QFont.Weight.Bold.value()));
		setAlignment(AlignmentFlag.AlignCenter);
	}

}
